package cn.itsource.ymcc.service;

import cn.itsource.ymcc.domain.CourseOrder;
import cn.itsource.ymcc.result.JsonResult;
import cn.itsource.ymcc.vo.KillPlaceOrderVo;
import cn.itsource.ymcc.vo.PlaceOrderVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zongcj
 * @since 2023-09-23
 */
public interface ICourseOrderService extends IService<CourseOrder> {

    JsonResult placeOrder(PlaceOrderVo placeOrderVo,Long userId);

    JsonResult killPlaceOrder(KillPlaceOrderVo placeOrderVo, Long userId);
}
